package org.dtrd.modules.archive.entity.request;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.ToString;
import org.dtrd.common.api.dto.BasePatientRequest;
import org.hibernate.validator.constraints.Range;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;
import java.util.List;

/**
 * @author xiao
 * @date 2022/9/9 11:45 AM
 */
@ApiModel("批量分组报告")
@Data
@ToString(callSuper = true)
public class GroupReport extends BasePatientRequest {

    @NotEmpty
    @ApiModelProperty("URL集合")
    private List<Integer> reportIdList;

    @NotNull
    @Range(min = 1, max = 3)
    @ApiModelProperty(value = "类型", notes = "1-既往病史，2-实验室，3-影像检测")
    private Integer type;

}
